package com.timguan.render.api.entity.cms;

import com.timguan.render.api.constants.ResourceTypeEnum;

/**
 * Created by guankaiqiang on 16/7/30.
 */
public class CMSResourceConfig {
    private ResourceTypeEnum resType;
    private String name;
    private String desc;
    private String value;

    public ResourceTypeEnum getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = ResourceTypeEnum.parseResourceType(resType);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
